/**
 * 
 */
package clientApp;

/**
 * @author Wesley
 *
 */
public class TestDriver2 {
	public static void main(String[] args)
	{
	VirtualAdvisor myVA = new VirtualAdvisor();
	//works; returns 3.53
	System.out.println("Overall gpa: " + myVA.calculateOverallGPA("StutskyPlan"));
	myVA.userLogin(new Student("Test", "Test", "Student", ProjectConstants.CMSC), false);
	//Breaks; Null Pointer exception with no plan
	System.out.println("Overall gpa: " + myVA.calculateOverallGPA("None"));
	myVA.addPlan(new Plan("New"));
	//Breaks; Logic error - no courses so no GPA; returns NaN
	System.out.println("Overall gpa: " + myVA.calculateOverallGPA("New"));
	myVA.userLogin(new Admin("Test", "Test", "Admin"), true);
	//Breaks; ClassCastException; Admin improperly cast to a Student
	System.out.println("Overall gpa: " + myVA.calculateOverallGPA("Fake"));
	}
}
